/*******************************************************************************
 * @project: Java_Reflect
 * @package: com.burns.java.reflect
 * @file: GetPackageAndClassName.java
 * @author: Administrator
 * @created: 2017年5月13日
 * @purpose:
 * 
 * @version: 1.0
 * 
 * Revision History at the end of file.
 * 
 * Copyright 2017 AcconSys All rights reserved.
 ******************************************************************************/

package com.burns.java.reflect;
/**
 * 通过一个对象获得完整的包名和类名
 * @author Administrator
 *
 */
public class GetPackageAndClassName {
	public static void main(String[] args) {
		GetPackageAndClassName clazz = new GetPackageAndClassName();
		System.out.println(clazz.getClass().getName());
		//输出：com.burns.java.reflect.GetPackageAndClassName
	}
}


/*******************************************************************************
 * <B>Revision History</B><BR>
 * [type 'revision' and press Alt + / to insert revision block]<BR>
 * 
 * 
 * 
 * Copyright 2017 AcconSys All rights reserved.
 ******************************************************************************/